package com.qiuhui.springboot01.mapper;

import com.qiuhui.springboot01.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName: Bookmapper
 * @Description: TODO
 * @author: tian
 * @date: 2021/4/10  2:10 下午
 */
@Mapper
public interface BookMapper {
    List<Book> getBook();
    Book getBookById(Integer id);
}
